//Pietras93OS
//Longjump
//pietras93@gmail.com
//

#ifndef LNGJMP
#define LNGJMP

typedef struct
{
   unsigned edi, esi, ebp, esp, ebx, edx, ecx, eax;
   unsigned esp2, eip;
} jmp_buf[1];

int setjmp(jmp_buf buf);
void longjmp(jmp_buf buf, int ret_val);

#endif
